fix: make TestExecutionClientOnlyComparison pass#356
Merged
AnkushinDaniil merged 7 commits intomainfrom Oct 31, 2025
Merged
Conversation
TestExecutionClientOnlyComparison pass
b24113e to
131f19c
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR implements EIP-2935 (historical block hash storage) for Arbitrum, enabling the TestExecutionClientOnlyComparison test to pass by providing proper historical block hash access functionality.
Key changes include:
- Adding EIP-2935 support with Arbitrum-specific configuration and ring buffer sizing (393,168 blocks)
- Deploying a custom history storage contract at ArbOS v40 upgrade that uses L2 block numbers
- Removing custom block hash processing in favor of Nethermind's standard implementation
Reviewed Changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| arbitrum-system-test.json | Adds EIP-2935 ring buffer configuration and fixes genesis block data formatting |
| arbitrum-sepolia.json | Adds EIP-2935 ring buffer size configuration |
| arbitrum-local.json | Adds EIP-2935 ring buffer size configuration |
| ArbitrumTransactionProcessor.cs | Removes custom ProcessParentBlockHash method and related code |
| ArbitrumDynamicSpecProvider.cs | Enables EIP-2935 and EIP-7709 for ArbOS v40+ |
| Precompiles.cs | Adds Arbitrum-specific historical block hash storage contract bytecode |
| ArbosState.cs | Deploys history storage contract during ArbOS v40 upgrade |
| ArbitrumEthRpcModuleTests.cs | Adds comprehensive test for historical block hash functionality |
| FullChainSimulationSpecProvider.cs | Sets EIP-2935 ring buffer size for test infrastructure |
| FullChainSimulationChainSpecProvider.cs | Adds support for configurable initial ArbOS version in tests |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
wurdum
approved these changes
Oct 30, 2025
damian-orzechowski
approved these changes
Oct 31, 2025
2aadfd4 to
6ad2563
Compare
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements EIP-2935 (historical block hash storage) for Arbitrum, enabling the
TestExecutionClientOnlyComparisontest to pass.Dependencies
Changes
Core Implementation
arb_block_numinstead of number0x0000F90827F1C53a10cb7A02335B175320002935HistoryStorageCodeArbitrum- modified EIP-2935 contract using L2 block numbersProcessParentBlockHash()methodBlockhashStore.ApplyBlockhashStateChanges()Chainspec Configuration
Test Infrastructure